package com.slz.crm.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.slz.crm.pojo.entity.PermissionsEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.List;

@Mapper
public interface PermissionsMapper extends BaseMapper<PermissionsEntity> {
    List<PermissionsEntity> getPermissionList(Long userId);

    void insertANDID(PermissionsEntity perm);


}
